package com.qitianyong.extendUI;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.SeekBar;

import com.qitianyong.sgkusbcamera.R;

/**
 * Created by qitianyong on 2017/3/22.
 */

public class NoDragSeekBar extends SeekBar{

    public NoDragSeekBar(Context context) {
        super(context);
    }
    public NoDragSeekBar(Context context, AttributeSet attrs) {
        this(context, attrs, R.style.Widget_SeekBar_Normal);
    }


    public NoDragSeekBar(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    public boolean onTouchEvent(MotionEvent event) {
        return false;
    }

}
